<h1>New announcement</h1>

<%= error_messages_for :announcement %>

<% form_tag :action => :new do -%>
<%= text_field :announcement, :title %>
<%= text_field :announcement, :body %>
<%= submit_tag "Create" %>
<% end -%>

<%= link_to 'Back', { :action => :index } %>
